package com.farm.service;

import com.farm.vo.BusinessDataVO;
import com.farm.vo.GiftOverViewVO;
import com.farm.vo.GoodsOverViewVO;
import com.farm.vo.OrderOverViewVO;

import java.time.LocalDateTime;

/**
 * @FileName WorkspaceService
 * @Description
 * @Author Sword
 * @date 2025-02-28
 **/
public interface WorkspaceService {

    /**
     * 根据时间段统计营业数据
     * @param begin
     * @param end
     * @return
     */
    BusinessDataVO getBusinessData(LocalDateTime begin, LocalDateTime end);

    /**
     * 查询订单管理数据
     * @return
     */
    OrderOverViewVO getOrderOverView();

    /**
     * 查询商品总览
     * @return
     */
    GoodsOverViewVO getGoodsOverView();

    /**
     * 查询礼盒总览
     * @return
     */
    GiftOverViewVO getGiftOverView();

}
